<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Common\AliossHandler;

class ImageController extends Controller
{
    public function upload(Request $request)
    {
        $type = $request['type'];
        $ext = $request['ext'];
        $result = AliossHandler::upload($type, $ext);

        return $result;
    }
}
